package com.list88zhu.android.sunflower;

import android.app.Application;

import com.list88zhu.android.sunflower.http.Api;
import com.list88zhu.android.sunflower.http.AppClient;

/**
 * <pre><code>
 *
 *  </code></pre>
 *
 * @author zhuyingming@qmtv.com
 * @date 2018/9/8
 */
public class AppApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        initApi();
    }

    private void initApi() {
        Api.ConfigParam params = new Api.ConfigParam();
        params.isDebug = true;
        params.isOnline = false;
        params.versionName = "1.0";
        params.channel = "undefind";
        AppClient.init(params);
    }
}
